home *** CD-ROM | disk | FTP | other *** search
- Path: loki.tor.hookup.net!news
- From: Rajendra_Singh@msn.com (Rajendra Singh)
- Newsgroups: comp.sys.hp.hpux,comp.lang.c
- Subject: Curses Window Question
- Date: Sun, 21 Apr 1996 18:20:00 GMT
- Organization: HookUp Communication Corporation, Oakville, Ontario, CANADA
- Message-ID: <4ldji6$1qh@loki.tor.hookup.net>
- NNTP-Posting-Host: u36u400.tor.hookup.net
- NNTP-Posting-User: u36u400
- X-Newsreader: Forte Free Agent 1.0.82
-
- This is the most appropriate newsgroup that I could think of to post
- this query, so please, if it's not totally appropriate for me to post
- it here, forgive me.
-
- I have an application which is written in C using curses running on
- HP/UX v9.07. I create a window, display some information in the
- window, ask the user to press a key, then get rid of the window. The
- problem I'm having is that when the window goes away so does the text
- that was below it, i. e. it wipes out what was on stdscr. How can I
- prevent this from happening?
-
- To get rid of the window I'm calling: werase(), wrefresh(), and
- delwin() in that order.
-
- Thanks in advance.
- ---
- Rajendra Singh, B. Sc. (Rajendra_Singh@msn.com)
- "What is understood need not be discussed." - Loren Adams
-
-